Skip to content

Conversation

gregturn
Copy link
Contributor

No description provided.

@gregturn gregturn force-pushed the issue/HATEOAS-1114 branch 4 times, most recently from c30ead9 to e12d5c2 Compare April 30, 2020 20:38
Register various patterns of sorting based on types.
@gregturn gregturn force-pushed the issue/HATEOAS-1114 branch from e12d5c2 to 81f8501 Compare May 1, 2020 14:12
Copy link
Member

@odrotbohm odrotbohm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to avoid the exposure of the type on InputPayloadMetadata. What if we made the HalFormsConfiguration expose something that exposes a Collector per type, so that the PayloadMetadata implementation based on a type could look up the property order and sort the Stream<PropertyMetadata> returned from PayloadMetadata.stream() accordingly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants